<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title></title>
        <script src="../js/vue.js"></script>
    </head>
    <body>
        <div>
            <a href="01v-for遍历数组--字符串数组.html"  @click.prevent="">遍历数组</a>
            <input type="button" value="测试" @click.once="test" />
        </div>
        
        <script>
          new Vue({
              el:"div",
              methods:{
                  test:function(){
                      console.log("----test-----")
                  }
              }
          });
        </script>
    </body>
</html>
